let mongoose=require('mongoose')
mongoose.connect('mongodb+srv://891181869:wzh20030214@hospital.ngssrjv.mongodb.net/code')
.then(()=>{
    console.log('服务器已开启')
})
.catch((err)=>{
    console.log('服务器已开启',err)
})
module.exports = mongoose;
